home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM This is CMP.BAT
- REM It uses DOS 5.0 /N= switch
- IF %2!==! GOTO OOPS
- ECHO N | COMP %1 %2 %3 %4 /N=99999
- GOTO END
- :OOPS
- ECHO Enter two filenames (or sets of
- ECHO files, using wildcards) after
- ECHO %0 to compare them. Add (DOS 5.0
- ECHO only) switches if you want:
- ECHO.
- ECHO /D display differences in decimal
- ECHO /A display differences in ASCII
- ECHO /L display line number differences
- ECHO /C do NON-case-sensitive compare
- :END
-